#!usr/bin/python
# -*- utf-8 -*-
def lines(file):
	
	for line in file:yield line
		yield '\n'

def blocks(file):
	block = []
	for line in lines(file):
		if line.strip():
			block.append(line)
		elif block:
			yield ''.join(block).strip()
			block = []

if __name__ == '__main__':

	fi = open('/Users/mac/Desktop/test_input.txt','wb')
	print fi.read()
	#blocks(fi)
	
